package com.xxwy.ddu.cms.authonrize.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.xxwy.ddu.cms.authonrize.entity.BaseUser;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xxwy
 * @since 2018-08-14
 */
public interface IUserService extends IService<BaseUser> {

    Page<BaseUser> selectUserWithRole(Page<BaseUser> objectPage);

    void insertUserWithRole(BaseUser baseUser);

    BaseUser selectUserByName(String uname);
}
